package com.xsound.dp15.bluetooothmonitor;

import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Parcelable;

/**
 * Created by DP15 on 16-3-15.
 */
public class BtBroadcastReceiver extends BroadcastReceiver {
    public Parcelable[] uuidExtra=new Parcelable[0];

    @Override
    public void onReceive(Context context, Intent intent) {

        if (intent.getAction()== BluetoothDevice.ACTION_UUID){
            uuidExtra = intent.getParcelableArrayExtra(BluetoothDevice.EXTRA_UUID);
        }
    }
}
